import request from '@/utils/request'

// 获取邀请商户记录分页
export function businessPage(data) {
  return request({
    url: '/beer/system-customer/business-my-page',
    method: 'GET',
    data: data
  })
}

// 获取邀请商户记录详情
export function businessGet(data) {
  return request({
    url: '/beer/system-customer/business-get?id=' + data,
    method: 'GET',
  })
}

// 获取商品列表
export function goodsPage(data) {
  return request({
    url: '/beer/product-goods/list',
    method: 'GET',
	data
  })
}

// 获取业务员交易信息
export function getWorkInfo() {
  return request({
    url: '/beer/system-business/get-info',
  })
}

// 获取业务员体现信息
export function brokerageWithdraw(data) {
  return request({
    url: '/trade/brokerage-withdraw/page',
    method: 'GET',
	data
  })
}
